package com.ymatou.iapi.prod.parameter;

import java.util.ArrayList;

import com.ymt.base.BaseBean;

@SuppressWarnings("serial")
public class GetProductListByProductIdsBean extends BaseBean{
	
	/*
	 *商品ID列表 **/
	private ArrayList<String> productIds;
	
	/*
	 *用户ID**/
	private int userId;

	public ArrayList<String> getProductIds() {
		return productIds;
	}

	public void setProductIds(ArrayList<String> productIds) {
		this.productIds = productIds;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	} 
	
	@Override
	public String toString() {
		ArrayList<String> list = this.getProductIds();
		String pro = "";
		
		for (int i = 0; i < list.size(); i++) {
			pro += "&productIds[]=" + list.get(i);
		}
		
		return "userId=" + this.getUserId() + pro;
	}
}
